Feldspar: Application and Implementation

نویسندگان

  • Emil Axelsson
  • Mary Sheeran
چکیده

The Feldspar project aims to develop a domain specific language for Digital Signal Processing algorithm design. From functional descriptions, imperative code (currently C) is generated. The project partners are Ericsson, Chalmers and ELTE, Budapest. The background and motivation for the project have been documented elsewhere [3]. We aim to raise the level of abstraction at which algorithm developers and implementors work, and to generate, from Feldspar descriptions, the kind of code that is currently written by hand. These lecture notes first give a brief introduction to Feldspar and the style of programming that it encourages. Next, we document the implementation of Feldspar as a domain specific language (DSL), embedded in Haskell. The implementation is built using a library called Syntactic that was built for this purpose, but also designed to be of use to other implementors of embedded domain specific languages. We show the implementation of Feldspar in sufficient detail to give the reader an understanding of how the use of the Syntactic library enables the modular construction of an embedded DSL. For those readers who would like to apply these techniques to their own DSL embedded in Haskell, further instructions are given in section 5. The programming examples are available in the CEFP directory of the Feldspar package, version 0.5.0.1: http://hackage.haskell.org/package/feldspar-language-0.5.0.1 The code can be fetched by running: > cabal unpack feldspar-language-0.5.0.1 All code is written in Haskell, and has been tested using the Glasgow Haskell Compiler (GHC), version 7.0.2, and the packages

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Design and Implementation of Feldspar - An Embedded Language for Digital Signal Processing

Feldspar is a domain specific language, embedded in Haskell, for programming digital signal processing algorithms. The final aim of a Feldspar program is to generate low level code with good performance. Still, we chose to provide the user with a purely functional DSL. The language is implemented as a minimal, deeply embedded core language, with shallow extensions built upon it. This paper pres...

متن کامل

A Simple Method to Separate Quartz and Feldspar and Its Application to Tl/osl Methods

In the dating of sediments by luminescence methods, to obtain a sample the purest possible as to its mineralogy determines the rest of the analytical procedures. The isolation of the sample minerals is a critical stage due to the impossibility of quantifying the relative contributions to the dose from the different minerals. In this paper we propose a non chemical method to isolate quartz from ...

متن کامل

Application of K-feldspar–jadeite–quartz barometry to eclogite facies metagranites and metapelites in the Sesia Lanzo Zone (Western Alps, Italy)*

The eclogite facies assemblage K-feldspar–jadeite–quartz in metagranites and metapelites from the SesiaLanzo Zone (Western Alps, Italy) records the equilibration pressure by dilution of the reaction jadeite+quartz=albite. The metapelites show partial transformation from a pre-Alpine assemblage of garnet (Alm63Prp26Grs10)–K-feldspar–plagioclase–biotite±sillimanite to the Eo-Alpine high-pressure ...

متن کامل

Feldspar – A Functional Embedded Language for Digital Signal Processing*

Digital Signal Processing (DSP) algorithms are usually designed and described on an abstract level and than transformed to a DSP chip specific C code by expert programmers. The problem is that the gap between the abstract description and the platform dependent code is huge and even the C code optimized for two different chips differ a lot. This makes it expensive to rewrite the algorithms each ...

متن کامل

Feldspar: A System for Finding Information by Association

We present Feldspar, the first system that allows people to find personal information on the computer by specifying chains of other information that it is associated with, emulating the information retrieval process of human associative memory. Feldspar’s contributions include (1) a user interface for constructing retrieval queries that consist of multiple levels of associations, such as “find ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011